<template>
    <section class="system" style="  height: 100vh; display: flex; flex-direction: column; ">
        <header >
            <el-menu
                style=" box-shadow: 0 5px 5px 0 rgb(214, 214, 214);"
                default-active="0"
                class="el-menu-demo"
                mode="horizontal"
                :ellipsis="false"
                active-text-color="none"
            >
                <div class="logoimg">
                    <img src="/src/assets/logo/logo.png" >
                    <span style="white-space: nowrap;">后台管理系统</span>
                </div>

                <div class="manage-username">你好！{{ manageUsername }}
                    <el-menu-item  @click="tuichu()" index="">
                        <el-icon  >
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" data-v-6fbb019e=""><path fill="currentColor" d="M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128z"></path><path fill="currentColor" d="M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"></path></svg>
                        </el-icon>
                    </el-menu-item>
                </div>
                
                
            </el-menu>
        </header>
        <section style="background-color: rgb(241, 241, 241); width: 100%; flex: 1; " class="el-container  el-containerx" >
            <aside class="el-aside" style="--el-aside-width: 200px; ">
                <el-menu 
                    default-active="1-1"
                    class="el-menu-vertical-demo"
                    active-text-color="rgb(40, 157, 67)"
                >
            <el-sub-menu index="1" >
            <template #title >
                <el-icon ><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grid" viewBox="0 0 16 16">
                    <path d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5zM2.5 2a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zm6.5.5A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM1 10.5A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zm6.5.5A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z"/>
                  </svg></el-icon>
                <span>
                    默认系统面板</span>
            </template >
                <RouterLink   to="/houtai">
                    <el-menu-item index="1-1"> <el-icon><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-boxes" viewBox="0 0 16 16">
                        <path d="M7.752.066a.5.5 0 0 1 .496 0l3.75 2.143a.5.5 0 0 1 .252.434v3.995l3.498 2A.5.5 0 0 1 16 9.07v4.286a.5.5 0 0 1-.252.434l-3.75 2.143a.5.5 0 0 1-.496 0l-3.502-2-3.502 2.001a.5.5 0 0 1-.496 0l-3.75-2.143A.5.5 0 0 1 0 13.357V9.071a.5.5 0 0 1 .252-.434L3.75 6.638V2.643a.5.5 0 0 1 .252-.434zM4.25 7.504 1.508 9.071l2.742 1.567 2.742-1.567zM7.5 9.933l-2.75 1.571v3.134l2.75-1.571zm1 3.134 2.75 1.571v-3.134L8.5 9.933zm.508-3.996 2.742 1.567 2.742-1.567-2.742-1.567zm2.242-2.433V3.504L8.5 5.076V8.21zM7.5 8.21V5.076L4.75 3.504v3.134zM5.258 2.643 8 4.21l2.742-1.567L8 1.076zM15 9.933l-2.75 1.571v3.134L15 13.067zM3.75 14.638v-3.134L1 9.933v3.134z"/>
                    </svg></el-icon>系统面板查看</el-menu-item></RouterLink>
                    <RouterLink  to="/houtai/manage">
                    <el-menu-item index="1-2" ><el-icon><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-gear" viewBox="0 0 16 16">
                        <path d="M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492M5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0"/>
                        <path d="M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52zm-2.633.283c.246-.835 1.428-.835 1.674 0l.094.319a1.873 1.873 0 0 0 2.693 1.115l.291-.16c.764-.415 1.6.42 1.184 1.185l-.159.292a1.873 1.873 0 0 0 1.116 2.692l.318.094c.835.246.835 1.428 0 1.674l-.319.094a1.873 1.873 0 0 0-1.115 2.693l.16.291c.415.764-.42 1.6-1.185 1.184l-.291-.159a1.873 1.873 0 0 0-2.693 1.116l-.094.318c-.246.835-1.428.835-1.674 0l-.094-.319a1.873 1.873 0 0 0-2.692-1.115l-.292.16c-.764.415-1.6-.42-1.184-1.185l.159-.291A1.873 1.873 0 0 0 1.945 8.93l-.319-.094c-.835-.246-.835-1.428 0-1.674l.319-.094A1.873 1.873 0 0 0 3.06 4.377l-.16-.292c-.415-.764.42-1.6 1.185-1.184l.292.159a1.873 1.873 0 0 0 2.692-1.115z"/>
                    </svg></el-icon>系统管理</el-menu-item>
                </RouterLink>
                <RouterLink  to="/houtai/message">
                    <el-menu-item index="1-3" ><el-icon><svg class="icon" style="width: 1em;height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3504"><path d="M512 0C229.696 0 0 196.672 0 438.421333c0 144.384 82.282667 278.336 220.778667 360.469333l0 203.733333c0 8.213333 4.714667 15.744 12.181333 19.285333C235.882667 1023.338667 239.04 1024 242.154667 1024c4.8 0 9.578667-1.621333 13.461333-4.8l181.589333-147.456c26.794667 3.413333 51.370667 5.077333 74.794667 5.077333 282.282667 0 512-196.693333 512-438.421333C1024 196.672 794.282667 0 512 0zM512.021333 834.090667c-24.106667 0-49.664-1.941333-78.144-5.952-5.845333-0.874667-11.84 0.832-16.448 4.586667l-153.92 125.034667 0-171.2c0-7.701333-4.16-14.848-10.901333-18.602667-131.413333-73.813333-209.877333-197.013333-209.877333-329.514667C42.730667 220.245333 253.269333 42.730667 512 42.730667s469.312 177.472 469.312 395.648S770.773333 834.090667 512.021333 834.090667zM512 438.4m-49.066667 0a2.3 2.3 0 1 0 98.133333 0 2.3 2.3 0 1 0-98.133333 0ZM266.709333 438.4m-49.066667 0a2.3 2.3 0 1 0 98.133333 0 2.3 2.3 0 1 0-98.133333 0ZM757.290667 389.333333c-27.114667 0-49.024 21.952-49.024 49.088 0 27.136 21.888 49.045333 49.024 49.045333 27.157333 0 49.088-21.909333 49.088-49.045333C806.378667 411.285333 784.448 389.333333 757.290667 389.333333z" p-id="3505"></path></svg></el-icon>官方消息推送</el-menu-item>
                </RouterLink>
            </el-sub-menu>
            <el-sub-menu index="2">
                <template #title>
                    <el-icon> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grid" viewBox="0 0 16 16">
                        <path d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5zM2.5 2a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zm6.5.5A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM1 10.5A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zm6.5.5A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z"/>
                      </svg></el-icon>
                    <span>
                        
                        个人信息</span>
                </template>
                <RouterLink to="/houtai/information">
                    <el-menu-item index="2-1"><el-icon>
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-card-list" viewBox="0 0 16 16">
                            <path d="M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2z"/>
                            <path d="M5 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 8m0-2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m0 5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m-1-5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0M4 8a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m0 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0"/>
                          </svg>
                    </el-icon>
                        信息管理</el-menu-item>
                    </RouterLink>
                </el-sub-menu>
                <el-sub-menu index="3">
                    <template #title>
                        <el-icon> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grid" viewBox="0 0 16 16">
                            <path d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5zM2.5 2a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zm6.5.5A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM1 10.5A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zm6.5.5A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z"/>
                          </svg></el-icon>
                        <span>
                        商家管理</span>
                    </template>
                    <RouterLink to="/houtai/business">
                        <el-menu-item index="3-1">
                                <el-icon>
                                    <svg class="icon" style="width: 1em;height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11215"><path d="M1021.1 389.2c0.3-0.6 0.7-1.2 1-1.8 0.3-0.7 0.5-1.4 0.7-2 0.2-0.7 0.5-1.4 0.6-2.1 0.1-0.6 0.2-1.2 0.3-1.9 0.1-0.8 0.2-1.7 0.3-2.5v-0.4c0-0.5-0.1-1-0.2-1.5-0.1-0.8-0.1-1.6-0.2-2.4-0.1-0.8-0.4-1.6-0.6-2.4-0.1-0.5-0.2-1-0.4-1.5L889 14.4C885.8 5.8 877.5 0 868.2 0H155.8c-9.3 0-17.6 5.8-20.8 14.4L1.4 370.6c-0.2 0.5-0.2 1-0.4 1.5-0.2 0.8-0.5 1.5-0.6 2.4-0.1 0.8-0.2 1.6-0.2 2.4 0 0.5-0.2 1-0.2 1.5v0.4c0 0.9 0.1 1.7 0.3 2.6 0.1 0.6 0.1 1.3 0.3 1.9 0.2 0.7 0.4 1.4 0.7 2.1 0.2 0.7 0.4 1.4 0.7 2 0.3 0.6 0.7 1.2 1 1.8 0.4 0.6 0.7 1.3 1.1 1.9 0.4 0.6 0.9 1.1 1.4 1.7 0.4 0.5 0.8 1.1 1.3 1.5 0.5 0.5 1.1 0.9 1.7 1.4 0.6 0.5 1.1 0.9 1.7 1.3 0.5 0.3 1.1 0.6 1.7 0.9 0.7 0.4 1.5 0.8 2.3 1.1 0.1 0.1 0.2 0.1 0.4 0.2 0.5 0.2 1 0.2 1.5 0.4 0.8 0.2 1.6 0.5 2.4 0.6 0.8 0.1 1.6 0.2 2.4 0.2 0.5 0 1 0.2 1.5 0.2 18 0 27.6 12.6 42.9 34.9 6.9 10 14.5 21 24.1 30.5 0 0.5-0.1 0.9-0.1 1.4v534.3c0 12.3 10 22.3 22.3 22.3H913c12.3 0 22.3-10 22.3-22.3V467.5c0-0.5-0.1-0.9-0.1-1.4 9.5-9.5 17.2-20.5 24-30.5 15.3-22.3 24.8-34.8 42.8-34.9h0.1c1.4 0 2.8-0.2 4.2-0.4 0.6-0.1 1.1-0.3 1.6-0.5 0.7-0.2 1.3-0.3 2-0.5 0.1 0 0.2-0.1 0.4-0.2 0.8-0.3 1.5-0.7 2.3-1.1 0.6-0.3 1.1-0.6 1.7-0.9 0.6-0.4 1.2-0.9 1.7-1.3 0.6-0.4 1.1-0.9 1.6-1.4 0.5-0.5 0.9-1 1.4-1.6 0.5-0.6 1-1.1 1.4-1.7 0-0.6 0.4-1.3 0.7-1.9zM133.6 979.5V488.9c3.5 0.5 7.2 0.8 11.1 0.8 42.3 0 63-30 79.6-54.2 15.3-22.3 24.8-34.9 42.9-34.9 18 0 27.6 12.6 42.9 34.9 16.6 24.1 37.2 54.2 79.6 54.2 42.3 0 63-30 79.6-54.2 15.3-22.3 24.9-34.9 42.9-34.9s27.6 12.6 42.9 34.9c16.6 24.1 37.2 54.2 79.6 54.2s63-30 79.6-54.2c15.3-22.3 24.9-34.9 42.9-34.9s27.6 12.6 42.9 34.9c16.6 24.1 37.2 54.2 79.6 54.2 3.9 0 7.6-0.3 11.2-0.8v490.6H133.6z m788.6-569.2c-15.3 22.3-24.9 34.9-42.9 34.9s-27.6-12.6-42.9-34.9c-16.6-24.1-37.2-54.2-79.6-54.2-42.3 0-63 30-79.6 54.2-15.3 22.3-24.9 34.9-42.9 34.9s-27.6-12.6-42.9-34.9c-16.6-24.1-37.2-54.2-79.6-54.2-42.3 0-63 30-79.6 54.2-15.3 22.3-24.9 34.9-42.9 34.9s-27.6-12.6-42.9-34.9c-16.6-24.1-37.2-54.2-79.6-54.2s-63 30-79.6 54.2c-15.3 22.3-24.8 34.9-42.9 34.9s-27.6-12.6-42.9-34.9C89.3 392.7 75 372 51.7 362.1L171.3 44.5h681.5l119.1 317.6c-23.3 9.9-37.6 30.6-49.7 48.2zM823.7 133.6H200.3c-12.3 0-22.3 10-22.3 22.3s10 22.3 22.3 22.3h623.3c12.3 0 22.3-10 22.3-22.3 0-12.4-10-22.3-22.2-22.3z" p-id="11216"></path></svg>
                                </el-icon>
                                商家信息
                        </el-menu-item>
                        </RouterLink>
                        <RouterLink to="/houtai/commodity">
                            <el-menu-item index="3-2">
                                <el-icon>
                                    <svg class="icon" style="width: 1em;height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="769"><path d="M768 320l-64 0L704 288C704 164.48 603.52 64 480 64 356.48 64 256 164.48 256 288L256 320 192 320C121.6 320 64 377.6 64 448l0 384c0 70.4 57.6 128 128 128l576 0c70.4 0 128-57.6 128-128L896 448C896 377.6 838.4 320 768 320zM320 288C320 199.68 391.68 128 480 128 568.32 128 640 199.68 640 288L640 320 320 320 320 288zM832 832c0 35.2-28.8 64-64 64L192 896c-35.2 0-64-28.8-64-64L128 448c0-35.2 28.8-64 64-64l64 0 0 96C256 497.92 270.08 512 288 512 305.92 512 320 497.92 320 480L320 384l320 0 0 96C640 497.92 654.08 512 672 512 689.92 512 704 497.92 704 480L704 384l64 0c35.2 0 64 28.8 64 64L832 832z" p-id="770"></path></svg>
                                </el-icon>
                                    商品列表
                            </el-menu-item>
                            </RouterLink>
                        <RouterLink to="/houtai/orders">
                            <el-menu-item index="3-3">
                                <el-icon>
                                    <svg class="icon" style="width: 1em;height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3724"><path d="M300 462.4h424.8v48H300v-48zM300 673.6H560v48H300v-48z" fill="" p-id="3725"></path><path d="M818.4 981.6H205.6c-12.8 0-24.8-2.4-36.8-7.2-11.2-4.8-21.6-11.2-29.6-20-8.8-8.8-15.2-18.4-20-29.6-4.8-12-7.2-24-7.2-36.8V250.4c0-12.8 2.4-24.8 7.2-36.8 4.8-11.2 11.2-21.6 20-29.6 8.8-8.8 18.4-15.2 29.6-20 12-4.8 24-7.2 36.8-7.2h92.8v47.2H205.6c-25.6 0-47.2 20.8-47.2 47.2v637.6c0 25.6 20.8 47.2 47.2 47.2h612c25.6 0 47.2-20.8 47.2-47.2V250.4c0-25.6-20.8-47.2-47.2-47.2H725.6v-47.2h92.8c12.8 0 24.8 2.4 36.8 7.2 11.2 4.8 21.6 11.2 29.6 20 8.8 8.8 15.2 18.4 20 29.6 4.8 12 7.2 24 7.2 36.8v637.6c0 12.8-2.4 24.8-7.2 36.8-4.8 11.2-11.2 21.6-20 29.6-8.8 8.8-18.4 15.2-29.6 20-12 5.6-24 8-36.8 8z" fill="" p-id="3726"></path><path d="M747.2 297.6H276.8V144c0-32.8 26.4-59.2 59.2-59.2h60.8c21.6-43.2 66.4-71.2 116-71.2 49.6 0 94.4 28 116 71.2h60.8c32.8 0 59.2 26.4 59.2 59.2l-1.6 153.6z m-423.2-47.2h376.8V144c0-6.4-5.6-12-12-12H595.2l-5.6-16c-11.2-32.8-42.4-55.2-77.6-55.2-35.2 0-66.4 22.4-77.6 55.2l-5.6 16H335.2c-6.4 0-12 5.6-12 12v106.4z" fill="" p-id="3727"></path></svg>
                                </el-icon>
                                    商家订单
                            </el-menu-item>
                            </RouterLink>
                        <RouterLink to="/houtai/application">
                            <el-menu-item index="3-4">
                                <el-icon>
                                    <svg class="icon" style="width: 1em;height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="769"><path d="M803.285133 62.60178H222.76148c-63.414285 0-115.009384 51.589982-115.009384 115.009384v668.149362c0 63.419402 51.595099 115.009384 115.009384 115.009384h580.523653c63.414285 0 115.009384-51.589982 115.009383-115.009384V177.611164c0-63.420425-51.595099-115.009384-115.009383-115.009384z m60.243059 783.158746c0 33.212426-27.024493 60.243059-60.243059 60.24306H222.76148c-33.218566 0-60.243059-27.030633-60.243059-60.24306V177.611164c0-33.212426 27.024493-60.243059 60.243059-60.24306h580.523653c33.218566 0 60.243059 27.030633 60.243059 60.24306v668.149362zM732.088604 270.713608H293.958008c-15.124466 0-27.383674 12.258185-27.383673 27.383674s12.258185 27.383674 27.383673 27.383674h438.130596c15.124466 0 27.383674-12.258185 27.383674-27.383674s-12.259208-27.383674-27.383674-27.383674zM732.088604 484.302171H293.958008c-15.124466 0-27.383674 12.258185-27.383673 27.383674s12.258185 27.383674 27.383673 27.383674h438.130596c15.124466 0 27.383674-12.258185 27.383674-27.383674s-12.259208-27.383674-27.383674-27.383674zM732.088604 697.891757H293.958008c-15.124466 0-27.383674 12.258185-27.383673 27.382651 0 15.124466 12.258185 27.383674 27.383673 27.383674h438.130596c15.124466 0 27.383674-12.258185 27.383674-27.383674 0-15.124466-12.259208-27.382651-27.383674-27.382651z" p-id="770"></path></svg>
                                </el-icon>
                                    商家申请表
                            </el-menu-item>
                            </RouterLink>

                            
                    </el-sub-menu>
                <RouterLink   to="/houtai/upload">
                    <el-menu-item index="4">
                        轮播图管理
                    </el-menu-item>
                </RouterLink>
                <RouterLink   to="/houtai/feedback">
                    <el-menu-item index="5">
                        反馈信息表
                    </el-menu-item>
                </RouterLink>

        </el-menu>
                    </aside>
                    <RouterView></RouterView>
        </section>
    </section>
</template>
<script lang="ts" setup>
import { closeManageData, getManageData } from '@/service/manage/manage';
import { ElMessage } from 'element-plus';
import { onMounted, ref } from 'vue';
import { useRouter } from 'vue-router';
const router = useRouter()
let manageUsername=ref('')
function tuichu(){
    closeManageData()
    window.sessionStorage.setItem("token",'')
    setTimeout(()=>{
        openSession()
    },100)
    ElMessage({
        message: '退出成功！',
        type: 'success',
        })
}
onMounted(()=>{
    openSession()
})
const openSession=async()=>{
    const res = await getManageData()
    if(res.success=='1'){
        router.push('/system')
    }else{
        manageUsername.value=res.username
    }
}
</script>
<style >
.manage-username{
    position: absolute;
    display: flex;
    font-weight: bold;
    justify-content: center;
    height: 100%;
    align-items: center;
    right: 0px;
}
@media(max-width:768px){
    .system{
        width: 100vh;
    }
    .jiesu{
        width: 20px;
        left: 50%;
    }
}
@media(min-width:768px){
    .system{
        width: 100%;
    }
    .jiesu{
        width: 20px;
        left: 73%;
    }
}


.jiesu :hover{
    color: rgb(40, 157, 67);
}

aside .el-menu-item {
    display: flex;
    
}
aside .el-menu-item:hover {
    background-color: rgb(210, 236, 219);
    display: flex;
    color: rgb(40, 157, 67);
}

.el-aside{
    height: 100%;
    background-color: rgb(255, 255, 255);
    box-shadow: 10px 0 10px rgb(214, 214, 214);
}

.logoimg{
    display: flex;
    justify-content: center;
    align-items: center;
    span{
        margin-left: 3rem;
        font-size: larger;
    }
    img{
        width: 10rem;
        height: auto;
        margin-top: -3%;
        margin-left: 20px;
        background-color: white;
    }
}
.el-menu-item{
    display: flex;
    justify-content: center;
    align-items: center;
    
}
</style>